﻿Imports EasyChat.Core
Imports System.ServiceModel
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.ComponentModel

<ToolboxItem(False)> _
<WebService(Namespace:="http://tempuri.org/")> _
<WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _
<ServiceBehavior(InstanceContextMode:=InstanceContextMode.PerSession)> _
<ServiceContract(Namespace:="http://tempuri.org",
                 SessionMode:=SessionMode.Required,
                 CallbackContract:=GetType(IEasyChatServiceCallback))> _
Public Class EasyChatService
    Inherits WebService

#Region "Contract Methods"

#End Region

#Region "Web Service Methods"
    <WebMethod()> _
    Public Function Login(ByVal userName As String, ByVal password As String) As Object'EasyChatUser
        Return Nothing
    End Function

    <WebMethod()> _
    Public Function Logout(ByVal userName As String) As Boolean
        Return True
    End Function
#End Region
End Class